<template>
<ul v-if="childrenData">
    <li v-for="item in childrenData">
        {{ item.title}}
        <MyMenu :childrenData="item.children"/>
    </li>
</ul>
</template>

<script setup>
defineProps(['childrenData']);
</script>

<style scoped>

</style>